package com.eliza.databind.model


data class User(
    var name: String,
    var age: Int
)

/**
 * 辅助工具类*/

class UserTools {
    companion object {
        @JvmStatic

        fun AgeToStar(age: Int): String {
            when (age) {
                1 -> return "一星"
                2 -> return "二星"
                3 -> return "三星"
                4 -> return "四星"
                else -> return "五星"

            }

        }
    }


}